import { gameRow, gameCol } from './config'
// map
export const map = []

export function initMap() {
  // init map
  for (let i = 0; i < gameRow; i++) {
    map[i] = []
    for (let j = 0; j < gameCol; j++) {
      map[i][j] = 0
    }
  }
}